//========encoding:utf-8=========
/*
 * @describe:  三目运算符
 * @author:mhao
 * @copyright:chinasoft.cn
 * @date:2020年3月17日   下午9:18:35
 */
package edu.chinasoft.handle;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller(value="handler")
public class Handler {
	@RequestMapping(value="/baidu.do")
	public ModelAndView method01() {
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("baidu");
		return modelAndView;
	}
	@RequestMapping(value="/huaban.do")
	public ModelAndView method02() {
		ModelAndView modelAndView = new ModelAndView();
		modelAndView.setViewName("huaban");
		return modelAndView;
	}
}
